﻿using System;
using Crevice2D.Core.Managers;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Crevice2D.Core.Data
{
    public class StaticBackground : Background
    {
        public override void Initialize(String texturePath, int speed)
        {
            // Load the background texture we will be using
            _texture = RenderManager.Content.Load<Texture2D>(texturePath);
        }

        public override void Update(GameTime gametime)
        {
            
        }

        public override void Draw()
        {
            RenderManager.SpriteBatch.Draw(_texture, new Rectangle(0, 0, RenderManager.ScreenWidth, RenderManager.ScreenHeight), Color.White);
        }
    }
}
